package com.gp.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/order/")
public class OrderController {

    @GetMapping("index")  //只要登录就可以访问。
    public String index(){

        return "index";
    }


    @GetMapping("index02")  //
    public String index02(){
        return "index02";
    }
}
